x86, amd, MTRR: remove k8_enable_fixed_iorrs()
authorWei Huang <wei.huang2@amd.com>
Wed, 6 Apr 2011 08:02:13 +0000 (09:02 +0100)
committerWei Huang <wei.huang2@amd.com>
Wed, 6 Apr 2011 08:02:13 +0000 (09:02 +0100)
commitca7690b505ce7a6c0ebf9d91854fd94ace29219f
tree92154364ee06b4eaf47a396b01e8d94d769ede59
parent2af33c22201fe4917f93e4df5d54893851f531c5
x86, amd, MTRR: remove k8_enable_fixed_iorrs()

AMD64 defines two special bits (bit 3 and 4) RdMem and WrMem in fixed
MTRR type. Their values are supposed to be 0 after BIOS hands the
control to OS according to AMD BKDG. Unless OS specificially turn them
on, they are kept 0 all the time. As a result, k8_enable_fixed_iorrs()
is unnecessary and removed from upstream kernel (see
https://patchwork.kernel.org/patch/11425/). This patch does the same
thing.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
xen/arch/x86/cpu/mtrr/generic.c